Piwik\NumberFormatter S

Total Complexity 36
Dependencies 4
Dependents 18
Total lines 249
Lines of code 121
Logical lines of code 78
Comment lines 109
Methods 13
Properties 3

Methods 13

Method Rating Maintainability Complexity Lines of code
formatNumberWithPattern()
A
43 12 45
formatPercentEvolution()
S
63 4 9
formatCurrency()
S
60 3 13
format()
S
69 3 6
getPattern()
S
64 3 9
parsePattern()
S
67 2 7
formatPercent()
S
66 2 8
replaceSymbols()
S
66 2 7
__construct()
S
81 1 3
formatNumber()
S
74 1 4
isNegative()
S
80 1 3
getInstance()
S
79 1 3
clearCache()
S
77 1 4